package client;
// ClientRequest.java
// Data structure class
// Holds data relevant to a client request

import java.io.Serializable;
public class ClientRequest implements Serializable
{
	private int x = 0;
	private int y = 0;
	private String username = "";
	private String password = "";

	public ClientRequest(int xCoordinate, int yCoordinate)
	{
		x = xCoordinate;
		y = yCoordinate;
	}

	public ClientRequest(String u, String p)
	{
		username = u;
		password = p;
	}

	public int getX()
	{
		return x;
	}

	public int getY()
	{
		return y;
	}

	public String getUsername()
	{
		return username;
	}

	public String getPassword()
	{
		return password;
	}
}